//
//  addMemverCell.m
//  soccer
//
//  Created by 上官千城 on 15/9/4.
//  Copyright (c) 2015年 上官千城. All rights reserved.
//

#import "addMemverCell.h"

@implementation addMemverCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self creatCell];
    }
    return self;
}
-(void)creatCell
{
    //头像
    self.perhead = [[UIImageView alloc]initWithFrame:CGRectMake(50, 10, 50, 50)];
//    self.perhead.backgroundColor = [UIColor orangeColor];
    self.perhead.image = [UIImage imageNamed:@"manpage_20-06@2x"];
    [self.contentView addSubview:self.perhead];
    //昵称
    self.perName = [[UILabel alloc]initWithFrame:CGRectMake(self.perhead.frame.origin.x + self.perhead.frame.size.width + 20 , self.frame.size.height/2, 200, 30)];
//    self.perName.backgroundColor = [UIColor orangeColor];
    self.perName.text = @"冒烟的米饭";
    [self.contentView addSubview:self.perName];
    
    
}



@end
